Optimal. Leaf size=232 \[ \frac {4 (2 a-b) b \cosh (c+d x) \sinh (c+d x) \sqrt {a+b \sinh ^2(c+d x)}}{15 d}+\frac {b \cosh (c+d x) \sinh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}-\frac {i \left (23 a^2-23 a b+8 b^2\right ) E\left (i c+i d x\left |\frac {b}{a}\right .\right ) \sqrt {a+b \sinh ^2(c+d x)}}{15 d \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}}+\frac {4 i a (a-b) (2 a-b) F\left (i c+i d x\left |\frac {b}{a}\right .\right ) \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}}{15 d \sqrt {a+b \sinh ^2(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 232, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {3259, 3249,
3251, 3257, 3256, 3262, 3261} \begin {gather*} -\frac {i \left (23 a^2-23 a b+8 b^2\right ) \sqrt {a+b \sinh ^2(c+d x)} E\left (i c+i d x\left |\frac {b}{a}\right .\right )}{15 d \sqrt {\frac {b \sinh ^2(c+d x)}{a}+1}}+\frac {b \sinh (c+d x) \cosh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}+\frac {4 b (2 a-b) \sinh (c+d x) \cosh (c+d x) \sqrt {a+b \sinh ^2(c+d x)}}{15 d}+\frac {4 i a (a-b) (2 a-b) \sqrt {\frac {b \sinh ^2(c+d x)}{a}+1} F\left (i c+i d x\left |\frac {b}{a}\right .\right )}{15 d \sqrt {a+b \sinh ^2(c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3249
Rule 3251
Rule 3256
Rule 3257
Rule 3259
Rule 3261
Rule 3262
Rubi steps
\begin {align*} \int \left (a+b \sinh ^2(c+d x)\right )^{5/2} \, dx &=\frac {b \cosh (c+d x) \sinh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}+\frac {1}{5} \int \sqrt {a+b \sinh ^2(c+d x)} \left (a (5 a-b)+4 (2 a-b) b \sinh ^2(c+d x)\right ) \, dx\\ &=\frac {4 (2 a-b) b \cosh (c+d x) \sinh (c+d x) \sqrt {a+b \sinh ^2(c+d x)}}{15 d}+\frac {b \cosh (c+d x) \sinh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}+\frac {1}{15} \int \frac {a \left (15 a^2-11 a b+4 b^2\right )+b \left (23 a^2-23 a b+8 b^2\right ) \sinh ^2(c+d x)}{\sqrt {a+b \sinh ^2(c+d x)}} \, dx\\ &=\frac {4 (2 a-b) b \cosh (c+d x) \sinh (c+d x) \sqrt {a+b \sinh ^2(c+d x)}}{15 d}+\frac {b \cosh (c+d x) \sinh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}-\frac {1}{15} (4 a (a-b) (2 a-b)) \int \frac {1}{\sqrt {a+b \sinh ^2(c+d x)}} \, dx+\frac {1}{15} \left (23 a^2-23 a b+8 b^2\right ) \int \sqrt {a+b \sinh ^2(c+d x)} \, dx\\ &=\frac {4 (2 a-b) b \cosh (c+d x) \sinh (c+d x) \sqrt {a+b \sinh ^2(c+d x)}}{15 d}+\frac {b \cosh (c+d x) \sinh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}+\frac {\left (\left (23 a^2-23 a b+8 b^2\right ) \sqrt {a+b \sinh ^2(c+d x)}\right ) \int \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}} \, dx}{15 \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}}-\frac {\left (4 a (a-b) (2 a-b) \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}\right ) \int \frac {1}{\sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}} \, dx}{15 \sqrt {a+b \sinh ^2(c+d x)}}\\ &=\frac {4 (2 a-b) b \cosh (c+d x) \sinh (c+d x) \sqrt {a+b \sinh ^2(c+d x)}}{15 d}+\frac {b \cosh (c+d x) \sinh (c+d x) \left (a+b \sinh ^2(c+d x)\right )^{3/2}}{5 d}-\frac {i \left (23 a^2-23 a b+8 b^2\right ) E\left (i c+i d x\left |\frac {b}{a}\right .\right ) \sqrt {a+b \sinh ^2(c+d x)}}{15 d \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}}+\frac {4 i a (a-b) (2 a-b) F\left (i c+i d x\left |\frac {b}{a}\right .\right ) \sqrt {1+\frac {b \sinh ^2(c+d x)}{a}}}{15 d \sqrt {a+b \sinh ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.95, size = 208, normalized size = 0.90 \begin {gather*} \frac {-16 i a \left (23 a^2-23 a b+8 b^2\right ) \sqrt {\frac {2 a-b+b \cosh (2 (c+d x))}{a}} E\left (i (c+d x)\left |\frac {b}{a}\right .\right )+64 i a \left (2 a^2-3 a b+b^2\right ) \sqrt {\frac {2 a-b+b \cosh (2 (c+d x))}{a}} F\left (i (c+d x)\left |\frac {b}{a}\right .\right )+\sqrt {2} b \left (88 a^2-88 a b+25 b^2+28 (2 a-b) b \cosh (2 (c+d x))+3 b^2 \cosh (4 (c+d x))\right ) \sinh (2 (c+d x))}{240 d \sqrt {2 a-b+b \cosh (2 (c+d x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(608\) vs.
\(2(268)=536\).
time = 1.40, size = 609, normalized size = 2.62
method | result | size |
default | \(\frac {3 \sqrt {-\frac {b}{a}}\, b^{3} \left (\cosh ^{6}\left (d x +c \right )\right ) \sinh \left (d x +c \right )+\left (14 \sqrt {-\frac {b}{a}}\, a \,b^{2}-10 \sqrt {-\frac {b}{a}}\, b^{3}\right ) \left (\cosh ^{4}\left (d x +c \right )\right ) \sinh \left (d x +c \right )+\left (11 \sqrt {-\frac {b}{a}}\, a^{2} b -18 \sqrt {-\frac {b}{a}}\, a \,b^{2}+7 \sqrt {-\frac {b}{a}}\, b^{3}\right ) \left (\cosh ^{2}\left (d x +c \right )\right ) \sinh \left (d x +c \right )+15 a^{3} \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticF \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right )-34 a^{2} b \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticF \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right )+27 \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticF \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right ) a \,b^{2}-8 \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticF \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right ) b^{3}+23 a^{2} b \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticE \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right )-23 \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticE \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right ) a \,b^{2}+8 \sqrt {\frac {b \left (\cosh ^{2}\left (d x +c \right )\right )}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \EllipticE \left (\sinh \left (d x +c \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right ) b^{3}}{15 \sqrt {-\frac {b}{a}}\, \cosh \left (d x +c \right ) \sqrt {a +b \left (\sinh ^{2}\left (d x +c \right )\right )}\, d}\) | \(609\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.15, size = 45, normalized size = 0.19 \begin {gather*} {\rm integral}\left ({\left (b^{2} \sinh \left (d x + c\right )^{4} + 2 \, a b \sinh \left (d x + c\right )^{2} + a^{2}\right )} \sqrt {b \sinh \left (d x + c\right )^{2} + a}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (b\,{\mathrm {sinh}\left (c+d\,x\right )}^2+a\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________